<a class="button upload" href="{% url upload.views.add_upload document.id %}">Upload</a>